﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace HelenServer.Migrator;

[Table("zt_product")]
public partial class ZtProduct
{
    [Key]
    [Column("id", TypeName = "mediumint(8) unsigned")]
    public uint Id { get; set; }

    [Column("name")]
    [StringLength(90)]
    public string Name { get; set; } = null!;

    [Column("status")]
    [StringLength(30)]
    public string Status { get; set; } = null!;

    [Column("desc", TypeName = "text")]
    public string Desc { get; set; } = null!;

    [Column("PO")]
    [StringLength(30)]
    public string Po { get; set; } = null!;

    [Column("QD")]
    [StringLength(30)]
    public string Qd { get; set; } = null!;

    [Column("RD")]
    [StringLength(30)]
    public string Rd { get; set; } = null!;

    [Column("createdBy")]
    [StringLength(30)]
    public string CreatedBy { get; set; } = null!;

    [Column("createdDate", TypeName = "datetime")]
    public DateTime CreatedDate { get; set; }

    [Column("deleted", TypeName = "enum('0','1')")]
    public string Deleted { get; set; } = null!;
}